package cn.ecms.service.impl.customerdynamicmanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customerdynamicmanager.DynamicSummaryMapper;
import cn.ecms.pojo.DynamicSummary;
import cn.ecms.service.customerdynamicmanager.DynamicSummaryService;

@Service
public class DynamicSummaryServiceImpl implements DynamicSummaryService {

	@Autowired
	private DynamicSummaryMapper dynamicSummaryMapper;
	
	@Override
	public int deleteByPrimaryKey(String dynamicId) {
		return dynamicSummaryMapper.deleteByPrimaryKey(dynamicId);
	}

	@Override
	public int insert(DynamicSummary record) {
		return dynamicSummaryMapper.insert(record);
	}

	@Override
	public int insertSelective(DynamicSummary record) {
		return dynamicSummaryMapper.insertSelective(record);
	}

	@Override
	public DynamicSummary selectByPrimaryKey(String dynamicId) {
		return dynamicSummaryMapper.selectByPrimaryKey(dynamicId);
	}

	@Override
	public int updateByPrimaryKeySelective(DynamicSummary record) {
		return dynamicSummaryMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(DynamicSummary record) {
		return dynamicSummaryMapper.updateByPrimaryKey(record);
	}

}
